package com.cg.constant;

/**
 * Redis常量定义
 */
public class RedisConstant {
    
    /**
     * AI对话历史缓存前缀
     */
    public static final String AI_CONTENT = "ai:content:";
    
    /**
     * AI对话历史过期时间（秒）
     */
    public static final int AI_HISTORY_EXPIRE_TIME = 86400; // 24小时
    
    /**
     * ChatMemory缓存前缀
     */
    public static final String CHAT_MEMORY = "chat:memory:";
    
    /**
     * ChatMemory过期时间（秒）
     */
    public static final int CHAT_MEMORY_EXPIRE_TIME = 86400; // 24小时

    // 简历分析缓存
    public static final String RESUME_PARSE_RESULT = "resume:parse:";
    public static final String EVALUATION_REPORT = "resume:evaluation:";
    public static final String RESUME_OPTIMIZATION = "resume:optimization:";
    public static final String RESUME_LATEST_ANALYSIS = "resume:latest:";
    public static final int RESUME_CACHE_TTL_SECONDS = 86400; // 24小时
}
